package day20.edu;

import day10.edu.Person;
import org.junit.Test;

import java.util.ArrayList;
import java.util.Collection;

// Created: 20/09/2025, ChangJiang Ru
public class CollectionTest {
    @Test
    public void test1()
    {
        Collection coll = new ArrayList();

        coll.add("AA");
        coll.add(123);
        coll.add(new Person("Tom", 12));
        coll.add("GreatFree");
        coll.add(new Object());

        System.out.println(coll);
    }
}
